package com.hnust.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CapterDao {
	//根据章节号获取章节id
	@Select("select cha_id from chapter where chapter=#{capter} and first=#{first} and second=#{second} and third=#{third} and cou_id=#{courseId}")
	String getCapIdByCapNum(String courseId,Integer capter, Integer first, Integer second, Integer third);
}
